package com.ahy231.springcloud_api.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ahy231
 * @date 2021/7/11 9:18
 * @description
 */
@RestController
@RequestMapping("/common")
public class CommonController {

    @GetMapping("/hello")
    public String hello() {
        return "Hello world!";
    }
}
